% ************************************************************************ 
%     Module name   : Lynx Simulation - Radar Run                                                     
%                                                                          
%     Description   : This will run the Track mode on a specific target.                                                    
%                                                                          
%     $Header: /Lynx/SimulationFramework/RSP/IFS/IFSRun.m 2     15/10/08 16:08 Lwabeke $ 
%                                                                          
%    $Author: Lwabeke $	            
%                                                                         
%    $Revision: 2 $                
%                                                                         
% ************************************************************************
%     $History: IFSRun.m $ 
% 
%
% ************************************************************************
function [reward] = RewardCalc_cheat(changedInfo, radarState, worldState)

    missedTargets = max([worldState.activeTargets - radarState.TargetList.numTargets, 0]);

reward = -missedTargets;

reward = radarState.TargetList.numTargets - 10;
